package chapter7;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/3/7 17:22
 */
public class SpaceShip extends SpaceShipControls {
    private String name;

    public SpaceShip(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        SpaceShip ship = new SpaceShip("NASA");
        ship.forward(100);
    }
}
